home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Developer / MPW Extras ƒ / MPW / MPW Extras ReadMe < prev    next >
Encoding:
Text File  |  1991-10-05  |  3.8 KB  |  58 lines  |  [TEXT/MPS ]

  1. This is a collection of a number of useful scripts and tools that I've
  2. developed over the last year.  A brief summary follows:
  3.  
  4. :Scripts:
  5. CommentLine                # comments out a line of text in a language sensitive manner
  6. Forget                    # delete a "Remembered" file (see Remember)
  7. InsertFile                # read a text file into the current window's selection/insertion point
  8. NewClose                # modified Close command with support for "Remember" (see Remember)
  9. NewNew                    # modified New command with support for "Remember" (see Remember)
  10. NewOpen                    # modified Open command with support for "Remember" and automatic file backup creation
  11. NewOpenSelection        # modified OpenSelection command with support for "Remember", automatic file backup
  12.                         # creation, and file searching
  13. NewSave                    # modified Save command with support for "Remember" (see Remember)
  14. NewTarget                # modified Target command with support for "Remember" (see Remember)
  15. OpenStatus                # tests if the specified file is already open
  16. RestoreFiles            # used with "Remember" to restore a previous version of a file
  17. RestorePosition            # restore a file location saved previously with SavePosition
  18. ToggleColumnClipboard    # toggle the display of the column edit mode clipboard (see ColumnEdit …)
  19. ToggleRemember            # enable or disable Remember (see Remember)
  20. ToggleSelectionMarker    # alternately drops a position marker (if one does not already exist), or highlights the text
  21.                         # from the current insertion point to the saved position marker
  22.  
  23. :Tools:
  24. ColumnEditTool            # dialog-based tool for performing column-mode (rectangular) editing
  25. ColumnShiftTool            # column-mode text shifting tool (start column is selection istart column,
  26.                         # NOT the left margin
  27. FAccess                    # tool to get or set most of the FAccess values
  28. FilePos                    # display the current file position to the right of the window's DoIt box (MPW 3.2 and up)
  29. GetInfo                    # display info on the current window (size, project status , etc).
  30. InfoLine                # display text the right of the window's DoIt box (MPW 3.2 and up)
  31. MenuTextTool            # hack to permit renaming of menu items (to permit toggling of EnableXXX to DisableXXX, etc).
  32. NewFindTool                # dialog-based replacement for Find which remembers previous search strings
  33. NewGetFile                # replacement GetFile dialog with filename extension filtering and additional file info.
  34. NewReplaceTool            # dialog-based replacement for Replace which remembers previous search and replace strings
  35.                         # double clicking a string from the list enters it in the appropriate text edit box, if
  36.                         # shift is held down it allows entering a saved find string into replace and vice-versa
  37. Pairs                    # tool to search c program for unmatched brace,comment, etc. pairs, starting from the current
  38.                         # insertion point
  39. ParseFileName            # parse a filename to seperate the name from the path, etc.
  40. ReadOnlyStatus            # tool to test if a file is modifiable (not locked, read-only, Projector, etc).
  41. Remember                # tool to periodically (via a QuickKey or similar) save the current window to a
  42.                         # sequentially numbered backup file.
  43. ScrollTool                # tool to force scrolling of a window (needed by several scripts to work around MPW window
  44.                         # updating and related problems)
  45.  
  46. UserStartup•Extras        # place in your MPW folder to setup the various scripts and tools
  47.  
  48. For optimum use of the various NewFind, NewOpen, etc. commands I've modified my MPW shell to remove the
  49. command key equivalents for the built-in commands, and the UserStartup•Extras assigns the standard command
  50. keys to the NewXXX commands.  If you do this you might want to use QuickKeys (or SetKey in the MPW 3.3 alpha
  51. versions available on ETO) to assign command-option-whatever to the builtin commands.  In addition, the standard
  52. MPW scripts that use New, Open, target, etc. can be modified to use NewNew, etc.
  53.  
  54. Given demand, the source code may be made available on a shareware basis.
  55.  
  56. Brian Clark
  57. CompuServe 71241,2407
  58.